<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>cbp2make: src/makefile.h Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">cbp2make
   </div>
   <div id="projectbrief">Makefile generation tool for Code::Blocks IDE</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.4 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="../../namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="../../annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../files.html"><span>File&#160;List</span></a></li>
      <li><a href="../../globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">makefile.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="../../d1/d9e/makefile_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">    cbp2make : Makefile generation tool for the Code::Blocks IDE</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">    Copyright (C) 2010-2013 Mirai Computing (mirai.computing@gmail.com)</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">    This program is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">    it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">    the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">    (at your option) any later version.</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">    This program is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">    but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">    GNU General Public License for more details.</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">    You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">    along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">*/</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#ifndef MAKEFILE_H</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define MAKEFILE_H</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor"></span><span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="../../d0/d3c/stlstrings_8h.html">stlstrings.h</a>&quot;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="../../d7/d5e/stlconfig_8h.html">stlconfig.h</a>&quot;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="code" href="../../d4/dba/classCMakefileVariable.html">   27</a></span>&#160;<span class="keyword">class </span><a class="code" href="../../d4/dba/classCMakefileVariable.html" title="Makefile macro variable definition. ">CMakefileVariable</a></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;{</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="code" href="../../d4/dba/classCMakefileVariable.html#af46c1f28a1592a7ae46def219ba676ba">   30</a></span>&#160;  <a class="code" href="../../d7/da9/classCString.html">CString</a> <a class="code" href="../../d4/dba/classCMakefileVariable.html#af46c1f28a1592a7ae46def219ba676ba" title="Name of the makefile macro variable. ">m_Name</a>;</div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="code" href="../../d4/dba/classCMakefileVariable.html#a73a07150ed0c365061d5436a40959e33">   31</a></span>&#160;  <a class="code" href="../../dc/daa/classCStringList.html">CStringList</a> <a class="code" href="../../d4/dba/classCMakefileVariable.html#a73a07150ed0c365061d5436a40959e33" title="A list of strings which concatenation gives the actual value of the macro variable. ">m_Values</a>;</div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="code" href="../../d4/dba/classCMakefileVariable.html#adf528f9e7b68a9d9846d82b75266bc2b">   32</a></span>&#160;  <span class="keywordtype">bool</span> <a class="code" href="../../d4/dba/classCMakefileVariable.html#adf528f9e7b68a9d9846d82b75266bc2b" title="Allows line-wrapping of variable&#39;s value text. ">m_Multiline</a>;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="code" href="../../d4/dba/classCMakefileVariable.html#aa8b16026f63f5293f70d03cb3b2a3f44">   34</a></span>&#160;  <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; <a class="code" href="../../d4/dba/classCMakefileVariable.html#aa8b16026f63f5293f70d03cb3b2a3f44" title="Returns the name of the macro variable. ">Name</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> <a class="code" href="../../d4/dba/classCMakefileVariable.html#af46c1f28a1592a7ae46def219ba676ba" title="Name of the makefile macro variable. ">m_Name</a>; }</div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="code" href="../../d4/dba/classCMakefileVariable.html#afd4cc467a611ed20b71cc3751b6af6f6">   35</a></span>&#160;  <a class="code" href="../../dc/daa/classCStringList.html">CStringList</a>&amp; <a class="code" href="../../d4/dba/classCMakefileVariable.html#afd4cc467a611ed20b71cc3751b6af6f6" title="Returns the value of the macro variable as a list of strings. ">Values</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> <a class="code" href="../../d4/dba/classCMakefileVariable.html#a73a07150ed0c365061d5436a40959e33" title="A list of strings which concatenation gives the actual value of the macro variable. ">m_Values</a>; }</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;  <a class="code" href="../../d7/da9/classCString.html">CString</a> <a class="code" href="../../d4/dba/classCMakefileVariable.html#a142ae75dbbb66bc8cc8ff022191588bd" title="Returns a string number Index from the value strings. ">GetValue</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> Index = 0);</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="../../d4/dba/classCMakefileVariable.html#a447d1ace1f70fc69da0bb5f5fc214b21" title="Replaces a string number Index in the value strings with the NewValue string. ">SetValue</a>(<span class="keyword">const</span> <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; NewValue, <span class="keyword">const</span> <span class="keywordtype">int</span> Index = 0);</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="../../d4/dba/classCMakefileVariable.html#ab6da5ff7718f4f72c62c7f788bd89688" title="Appends a list of value strings with the NewValue string. ">AddValue</a>(<span class="keyword">const</span> <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; NewValue);</div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="code" href="../../d4/dba/classCMakefileVariable.html#a59addb2aafefc582adea0282f6345855">   39</a></span>&#160;  <span class="keywordtype">bool</span>&amp; <a class="code" href="../../d4/dba/classCMakefileVariable.html#a59addb2aafefc582adea0282f6345855" title="Allows line-wrapping of variable&#39;s value text. ">Multiline</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> <a class="code" href="../../d4/dba/classCMakefileVariable.html#adf528f9e7b68a9d9846d82b75266bc2b" title="Allows line-wrapping of variable&#39;s value text. ">m_Multiline</a>; }</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;  <a class="code" href="../../d7/da9/classCString.html">CString</a> <a class="code" href="../../d4/dba/classCMakefileVariable.html#a627138c1aed54cb0c94dba4d89c06a4f" title="Returns the variable value as a single string. ">JoinValues</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="../../d4/dba/classCMakefileVariable.html#a2443c9fd387bc8e35bf3410363c8efcd" title="Resets the macro variable to the initial state. ">Clear</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="../../d4/dba/classCMakefileVariable.html#a52aee3c1d3fc4c93392188ec3ec8a642" title="Prints properties of the macro variable to the standard output. ">Show</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;  <a class="code" href="../../d4/dba/classCMakefileVariable.html#a28e3a72b6a57eb5770f1977d5f80c8b7" title="Creates macro variable. ">CMakefileVariable</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;  <a class="code" href="../../d4/dba/classCMakefileVariable.html#ad61d15738e7073a5fd00e58d13d17ab9" title="Destroys macro variable. ">~CMakefileVariable</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;};</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="code" href="../../d1/d4b/classCMakefileRule.html">   49</a></span>&#160;<span class="keyword">class </span><a class="code" href="../../d1/d4b/classCMakefileRule.html" title="Makefile rule definition. ">CMakefileRule</a></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;{</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="code" href="../../d1/d4b/classCMakefileRule.html#ad951eb8f2f582b95e8fff72d77296233">   52</a></span>&#160;  <a class="code" href="../../d7/da9/classCString.html">CString</a> <a class="code" href="../../d1/d4b/classCMakefileRule.html#ad951eb8f2f582b95e8fff72d77296233" title="Name of a makefile target. ">m_Target</a>;</div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="code" href="../../d1/d4b/classCMakefileRule.html#a8c5b1f8e55ba7d7421feb84a02a96e75">   53</a></span>&#160;  <a class="code" href="../../dc/daa/classCStringList.html">CStringList</a> <a class="code" href="../../d1/d4b/classCMakefileRule.html#a8c5b1f8e55ba7d7421feb84a02a96e75" title="A list of dependencies (prerequirements) for the target. ">m_Dependencies</a>;</div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="code" href="../../d1/d4b/classCMakefileRule.html#a99fec9b4ba99c02b59c71b6fff71e863">   54</a></span>&#160;  <a class="code" href="../../dc/daa/classCStringList.html">CStringList</a> <a class="code" href="../../d1/d4b/classCMakefileRule.html#a99fec9b4ba99c02b59c71b6fff71e863" title="A list of commands to be executed to build the target. ">m_Commands</a>;</div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="code" href="../../d1/d4b/classCMakefileRule.html#a9a2e0ba695a307f15e2f3329b3b198c4">   55</a></span>&#160;  <span class="keywordtype">bool</span> <a class="code" href="../../d1/d4b/classCMakefileRule.html#a9a2e0ba695a307f15e2f3329b3b198c4" title="Allows line-wrapping of the list of dependencies. ">m_Multiline</a>;</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="code" href="../../d1/d4b/classCMakefileRule.html#af48330075190cc4fe5ff898b74ca01b6">   57</a></span>&#160;  <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; <a class="code" href="../../d1/d4b/classCMakefileRule.html#af48330075190cc4fe5ff898b74ca01b6" title="Name of a makefile target. ">Target</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> <a class="code" href="../../d1/d4b/classCMakefileRule.html#ad951eb8f2f582b95e8fff72d77296233" title="Name of a makefile target. ">m_Target</a>; }</div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="code" href="../../d1/d4b/classCMakefileRule.html#af8474737e835958d4e2ab625ae39cadf">   58</a></span>&#160;  <a class="code" href="../../dc/daa/classCStringList.html">CStringList</a>&amp; <a class="code" href="../../d1/d4b/classCMakefileRule.html#af8474737e835958d4e2ab625ae39cadf" title="A list of dependencies (prerequirements) for the target. ">Dependencies</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> <a class="code" href="../../d1/d4b/classCMakefileRule.html#a8c5b1f8e55ba7d7421feb84a02a96e75" title="A list of dependencies (prerequirements) for the target. ">m_Dependencies</a>; }</div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="code" href="../../d1/d4b/classCMakefileRule.html#a1ac8c0575edeff1217c07a80f9b2b4c1">   59</a></span>&#160;  <a class="code" href="../../dc/daa/classCStringList.html">CStringList</a>&amp; <a class="code" href="../../d1/d4b/classCMakefileRule.html#a1ac8c0575edeff1217c07a80f9b2b4c1" title="A list of commands to be executed to build the target. ">Commands</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> <a class="code" href="../../d1/d4b/classCMakefileRule.html#a99fec9b4ba99c02b59c71b6fff71e863" title="A list of commands to be executed to build the target. ">m_Commands</a>; }</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="code" href="../../d1/d4b/classCMakefileRule.html#a089b52392be36d009142f8207a8fdef2">   60</a></span>&#160;  <span class="keywordtype">bool</span>&amp; <a class="code" href="../../d1/d4b/classCMakefileRule.html#a089b52392be36d009142f8207a8fdef2" title="Allows line-wrapping of the list of dependencies. ">Multiline</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> <a class="code" href="../../d1/d4b/classCMakefileRule.html#a9a2e0ba695a307f15e2f3329b3b198c4" title="Allows line-wrapping of the list of dependencies. ">m_Multiline</a>; }</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;  <a class="code" href="../../d7/da9/classCString.html">CString</a> <a class="code" href="../../d1/d4b/classCMakefileRule.html#a5b6ffee5272a8fd46661f95f17adde73" title="Returns dependencies as a single string. ">JoinDependencies</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="../../d1/d4b/classCMakefileRule.html#ae4d474fd54ac9c902c31ddb2aebf721e" title="Resets the makefile rule to the initial state. ">Clear</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="../../d1/d4b/classCMakefileRule.html#afb306c6ae36395c3552e76e341567646" title="Prints the makefile rule properties to the standard output. ">Show</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;  <a class="code" href="../../d1/d4b/classCMakefileRule.html#a443464a547ab7f3f5a2c5df8cd0ac466" title="Creates makefile rule. ">CMakefileRule</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;  <a class="code" href="../../d1/d4b/classCMakefileRule.html#af2285fe40026ea3874e2cb02a651b097" title="Destroys makefile rule. ">~CMakefileRule</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;};</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="code" href="../../d8/d7c/classCMakefileSection.html">   70</a></span>&#160;<span class="keyword">class </span><a class="code" href="../../d8/d7c/classCMakefileSection.html" title="Makefile section definition. ">CMakefileSection</a></div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;{</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="code" href="../../d8/d7c/classCMakefileSection.html#a19aff76a974cefa540960369eaed43ec">   73</a></span>&#160;  <a class="code" href="../../dc/daa/classCStringList.html">CStringList</a> <a class="code" href="../../d8/d7c/classCMakefileSection.html#a19aff76a974cefa540960369eaed43ec" title="Section header, describes makefile section contents. ">m_Header</a>;</div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="code" href="../../d8/d7c/classCMakefileSection.html#a77768b7c6c3acb031990ebcbae9957de">   74</a></span>&#160;  std::vector&lt;CMakefileVariable *&gt; <a class="code" href="../../d8/d7c/classCMakefileSection.html#a77768b7c6c3acb031990ebcbae9957de" title="A list of macro variables in the section. ">m_Macros</a>;</div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="code" href="../../d8/d7c/classCMakefileSection.html#acd47bab1b30e88633d75c9fd08497fca">   75</a></span>&#160;  std::vector&lt;CMakefileVariable *&gt; <a class="code" href="../../d8/d7c/classCMakefileSection.html#acd47bab1b30e88633d75c9fd08497fca" title="A list of environment variables in the section. ">m_EnvVars</a>;</div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="code" href="../../d8/d7c/classCMakefileSection.html#aa5ba1d41937450d96795e4e08cb64f49">   76</a></span>&#160;  std::vector&lt;CMakefileRule *&gt; <a class="code" href="../../d8/d7c/classCMakefileSection.html#aa5ba1d41937450d96795e4e08cb64f49" title="A list of makefile rules in the section. ">m_Rules</a>;</div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="code" href="../../d8/d7c/classCMakefileSection.html#ad9819eeb550fafffcfe7814ffd859cdd">   77</a></span>&#160;  <a class="code" href="../../d4/dba/classCMakefileVariable.html" title="Makefile macro variable definition. ">CMakefileVariable</a> <a class="code" href="../../d8/d7c/classCMakefileSection.html#ad9819eeb550fafffcfe7814ffd859cdd" title="A substitute variable, it is returned when no variable satisfies search conditions. ">m_NullVariable</a>;</div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="code" href="../../d8/d7c/classCMakefileSection.html#a30793048110e7a747f5b142bec3143a7">   78</a></span>&#160;  <a class="code" href="../../d1/d4b/classCMakefileRule.html" title="Makefile rule definition. ">CMakefileRule</a> <a class="code" href="../../d8/d7c/classCMakefileSection.html#a30793048110e7a747f5b142bec3143a7" title="A substitute rule, it is returned when no rule satisfies search conditions. ">m_NullRule</a>;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160; <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;  <a class="code" href="../../d4/dba/classCMakefileVariable.html" title="Makefile macro variable definition. ">CMakefileVariable</a> *<a class="code" href="../../d8/d7c/classCMakefileSection.html#a3b626dd591b6ebbf49382c87f9a4040e" title="Searches macro variables by name. ">FindMacro</a>(<span class="keyword">const</span> <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; Name);</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;  <a class="code" href="../../d4/dba/classCMakefileVariable.html" title="Makefile macro variable definition. ">CMakefileVariable</a> *<a class="code" href="../../d8/d7c/classCMakefileSection.html#a780f6d59f56d8aee1fbc3687e04eebd5" title="Searches environment variables by name. ">FindEnvVar</a>(<span class="keyword">const</span> <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; Name);</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="../../d8/d7c/classCMakefileSection.html#af08b2da5cf2bea30f88d82e7076288ea" title="Resets the makefile section to the initial state. ">Clear</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="../../d8/d7c/classCMakefileSection.html#a190c932398264095c33f9aed3162fa4c" title="Prints contents of the makefile section to the standard output. ">Show</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;  <a class="code" href="../../dc/daa/classCStringList.html">CStringList</a>&amp; <a class="code" href="../../d8/d7c/classCMakefileSection.html#a59809cace68f470cfe6e8b6f9af3765c" title="Section header, describes makefile section contents. ">Header</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;  std::vector&lt;CMakefileVariable *&gt;&amp; <a class="code" href="../../d8/d7c/classCMakefileSection.html#aefd7a83c39397eff928e487ef5e4830f" title="A list of macro variables in the section. ">Macros</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;  std::vector&lt;CMakefileVariable *&gt;&amp; <a class="code" href="../../d8/d7c/classCMakefileSection.html#a1d5ca98517803f8cb61bbbcdb9a4617f" title="A list of environment variables in the section. ">EnvVars</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;  <a class="code" href="../../d4/dba/classCMakefileVariable.html" title="Makefile macro variable definition. ">CMakefileVariable</a>&amp; <a class="code" href="../../d8/d7c/classCMakefileSection.html#ac106969cabae16d8475a1e36f02672c8" title="Creates a new macro variable and adds it to the section. ">AddMacro</a>(<span class="keyword">const</span> <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; Name, <span class="keyword">const</span> <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; Value);</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;  <a class="code" href="../../d4/dba/classCMakefileVariable.html" title="Makefile macro variable definition. ">CMakefileVariable</a>&amp; <a class="code" href="../../d8/d7c/classCMakefileSection.html#aa6ef8789a7f3906925ffc5d727c431f3" title="Creates a new environment variable and adds it to the section. ">AddEnvVar</a>(<span class="keyword">const</span> <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; Name, <span class="keyword">const</span> <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; Value);</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;  <span class="keywordtype">size_t</span> <a class="code" href="../../d8/d7c/classCMakefileSection.html#aa1fe2aca8d228bdaf3b58ec6c9960153" title="Counts makefile rules in the section. ">RulesCount</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;  <a class="code" href="../../d1/d4b/classCMakefileRule.html" title="Makefile rule definition. ">CMakefileRule</a>&amp; <a class="code" href="../../d8/d7c/classCMakefileSection.html#a2bb0288892998d8fef244fc7577603bd" title="Returns makefile rule by the Index number. ">GetRule</a>(<span class="keyword">const</span> <span class="keywordtype">size_t</span> Index);</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;  <a class="code" href="../../d1/d4b/classCMakefileRule.html" title="Makefile rule definition. ">CMakefileRule</a>&amp; <a class="code" href="../../d8/d7c/classCMakefileSection.html#a67bd40db35403fb5e1977fed432ec8ff" title="Creates a new makefile rule and adds it to the section. ">AddRule</a>(<span class="keyword">const</span> <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; TargetName);</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;  <a class="code" href="../../d8/d7c/classCMakefileSection.html#a2669d3e48d1bc78ef8a72c792d52af7e" title="Creates makefile section. ">CMakefileSection</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;  <a class="code" href="../../d8/d7c/classCMakefileSection.html#ac8ed9b94580dba116e989a6274981288" title="Destroys makefile section. ">~CMakefileSection</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;};</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;</div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="code" href="../../d0/d98/classCMakefile.html">   99</a></span>&#160;<span class="keyword">class </span><a class="code" href="../../d0/d98/classCMakefile.html" title="Makefile definition. ">CMakefile</a></div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;{</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="code" href="../../d0/d98/classCMakefile.html#a79350f26dda9d7a9825718956f34c3b7">  102</a></span>&#160;  std::vector&lt;CMakefileSection *&gt; <a class="code" href="../../d0/d98/classCMakefile.html#a79350f26dda9d7a9825718956f34c3b7" title="A list of makefile sections. ">m_Sections</a>;</div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="code" href="../../d0/d98/classCMakefile.html#aee12188307be6d4ba12e877b29f7ea3d">  103</a></span>&#160;  <a class="code" href="../../dc/daa/classCStringList.html">CStringList</a> <a class="code" href="../../d0/d98/classCMakefile.html#aee12188307be6d4ba12e877b29f7ea3d" title="Plain text representation of the makefile. ">m_Text</a>;</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="../../d0/d98/classCMakefile.html#a85fac8d19f17693fb9496370f77f2e75" title="Resets the makefile to the initial state. ">Clear</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="../../d0/d98/classCMakefile.html#ad57cbe3e10deb62aa2d0ce72c9cdc2e6" title="Prints contents of the makefile to the standard output. ">Show</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;  <span class="keywordtype">size_t</span> <a class="code" href="../../d0/d98/classCMakefile.html#a197e30d4be127ed7c48514dc81ac8a2f" title="Counts makefile sections. ">SectionCount</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;  <a class="code" href="../../d8/d7c/classCMakefileSection.html" title="Makefile section definition. ">CMakefileSection</a>&amp; <a class="code" href="../../d0/d98/classCMakefile.html#aa5c9b7b335a3fec333f45acab20fe8a8" title="Returns a makefile section by a number. ">GetSection</a>(<span class="keyword">const</span> <span class="keywordtype">size_t</span> Section);</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;  <a class="code" href="../../dc/daa/classCStringList.html">CStringList</a>&amp; <a class="code" href="../../d0/d98/classCMakefile.html#a1b850cb1fd1d655282b6be5652fd1090" title="Header of a makefile section number Section. ">Header</a>(<span class="keyword">const</span> <span class="keywordtype">size_t</span> Section = 0);</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;  <a class="code" href="../../d8/d7c/classCMakefileSection.html" title="Makefile section definition. ">CMakefileSection</a>&amp; <a class="code" href="../../d0/d98/classCMakefile.html#ab70e6833a96f4fe07ffefd5a26760e8e" title="Creates a new makefile section and adds it to the makefile. ">AddSection</a>(<span class="keywordtype">size_t</span> *Section = 0);</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;  <a class="code" href="../../d4/dba/classCMakefileVariable.html" title="Makefile macro variable definition. ">CMakefileVariable</a>&amp; <a class="code" href="../../d0/d98/classCMakefile.html#ab9d54996fca8732018b5b3a4458c413d" title="Creates a new macro variable and adds it to a section number Section. ">AddMacro</a>(<span class="keyword">const</span> <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; Name, <span class="keyword">const</span> <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; Value, <span class="keyword">const</span> <span class="keywordtype">size_t</span> Section = 0);</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;  <a class="code" href="../../d4/dba/classCMakefileVariable.html" title="Makefile macro variable definition. ">CMakefileVariable</a>&amp; <a class="code" href="../../d0/d98/classCMakefile.html#a08f58986e9d5ec826d2f14c9f514d1dd" title="Creates a new environment variable and adds it to a section number Section. ">AddEnvVar</a>(<span class="keyword">const</span> <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; Name, <span class="keyword">const</span> <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; Value, <span class="keyword">const</span> <span class="keywordtype">size_t</span> Section = 0);</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;  <span class="keywordtype">size_t</span> <a class="code" href="../../d0/d98/classCMakefile.html#ac10c900fc4a140c4b5fc40c97251ddce" title="Counts makefile rules in a section number Section. ">RulesCount</a>(<span class="keyword">const</span> <span class="keywordtype">size_t</span> Section = 0);</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;  <a class="code" href="../../d1/d4b/classCMakefileRule.html" title="Makefile rule definition. ">CMakefileRule</a>&amp; <a class="code" href="../../d0/d98/classCMakefile.html#a28cffd998a6294be6adea7d2f486b5a2" title="Returns makefile rule by the Index number in a section number Section. ">GetRule</a>(<span class="keyword">const</span> <span class="keywordtype">size_t</span> Index, <span class="keyword">const</span> <span class="keywordtype">size_t</span> Section = 0);</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;  <a class="code" href="../../d1/d4b/classCMakefileRule.html" title="Makefile rule definition. ">CMakefileRule</a>&amp; <a class="code" href="../../d0/d98/classCMakefile.html#a94a25d457e0a5dcf9eb6b06796017e11" title="Creates a new makefile rule and adds it to a section number Section. ">AddRule</a>(<span class="keyword">const</span> <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; TargetName, <span class="keyword">const</span> <span class="keywordtype">size_t</span> Section = 0);</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;  <a class="code" href="../../dc/daa/classCStringList.html">CStringList</a>&amp; <a class="code" href="../../d0/d98/classCMakefile.html#af1aad12975d83641d496caaafea4f8af" title="Returns a plain text representation of the makefile. ">GetText</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;  <a class="code" href="../../dc/daa/classCStringList.html">CStringList</a>&amp; <a class="code" href="../../d0/d98/classCMakefile.html#ad8e5a8c461cec5f6e41e17affe6ef2a3" title="Creates plain text representation of the makefile from objects. ">Update</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;  <a class="code" href="../../d0/d98/classCMakefile.html#a5fa3178a288338e66f8f3be6074351fc" title="Creates makefile. ">CMakefile</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;  <a class="code" href="../../d0/d98/classCMakefile.html#a2e0412bb037e3b09766cb55314753eb2" title="Destroys makefile. ">~CMakefile</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;};</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="preprocessor"></span><span class="comment">//------------------------------------------------------------------------------</span></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Jun 9 2013 10:55:52 for cbp2make by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.4
</small></address>
</body>
</html>
